python key down

99

python key down -

import keyboard  # using module keyboard

if keyboard.is_pressed('e'):  # if key 'e' is pressed 
	print("you're holding the E key!")

Comments

Submit
0 Comments